﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using D3DSS.Enums;
using D3DSS.DataContract.QueryStatisticsOption;

namespace D3DSS.DataContract
{
    /// <summary>
    /// 查询统计请求契约
    /// </summary>
    public class QueryStatisticsRequest
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID { get; set; }

        /// <summary>
        /// 游戏服务器
        /// </summary>
        public GameServerType GameServer { get; set; }

        /// <summary>
        /// 游戏章节
        /// </summary>
        public ActType Act { get; set; }
    }

    /// <summary>
    /// 查询统计响应契约
    /// </summary>
    public class QueryStatisticsResponse
    {
        /// <summary>
        /// 游戏服务器
        /// </summary>
        public GameServerType GameServer { get; set; }

        /// <summary>
        /// 游戏章节
        /// </summary>
        public ActType Act { get; set; }

        /// <summary>
        /// 查询计算时间
        /// </summary>
        public long QueryTime { get; set; }

        /// <summary>
        /// 公用常规统计结果
        /// </summary>
        public StatisticsResult PublicDefaultStatisticsResult { get; set; }

        /// <summary>
        /// 公用扩展统计结果
        /// </summary>
        public StatisticsResult PublicExtendStatisticsResult { get; set; }

        /// <summary>
        /// 私有常规统计结果
        /// </summary>
        public StatisticsResult PrivateDefaultStatisticsResult { get; set; }
        
        /// <summary>
        /// 私有扩展统计结果
        /// </summary>
        public StatisticsResult PrivateExtendStatisticsResult { get; set; }
    }
}
